package com.ycc.biz.service;

import com.ycc.biz.common.PageResult;
import com.ycc.biz.pojo.entity.BizBuyer;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ycc.biz.pojo.query.BizBuyerQuery;
import com.ycc.biz.pojo.vo.BizBuyerVO;

import javax.servlet.http.HttpServletRequest;

/**
* @author 吴彦良
* @description 针对表【biz_buyer(买家表)】的数据库操作Service
* @createDate 2025-03-07 14:49:22
*/
public interface BizBuyerService extends IService<BizBuyer> {
    
    /**
     * 分页查询买家
     * @param query 查询参数
     * @return 买家分页数据
     */
    PageResult<BizBuyerVO> pageBuyers(BizBuyerQuery query);

    /**
     * 添加买家
     * @param buyer
     * @return
     */
    Boolean addBuyer(BizBuyer buyer, HttpServletRequest request);
}
